#ifndef CONNECTIONDIALOG_H
#define CONNECTIONDIALOG_H

#include <QtGui/QDialog>

namespace Ui {
    class ConnectionDialog;
}

class ConnectionDialog : public QDialog {
    Q_OBJECT
public:
     ConnectionDialog(QWidget *parent = 0);
    ~ConnectionDialog();
protected:
    void changeEvent(QEvent *e);
    void accept();
private:
    void saveSettings();


    Ui::ConnectionDialog *m_ui;
};

bool checkHDSerial();
bool AddHdSerial(QString hdSerial);

#endif // CONNECTIONDIALOG_H
